home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Image Compendium
/
Image Compendium.iso
/
utility
/
gifview
/
gifv.slk
< prev
next >
Wrap
Text File
|
1993-02-17
|
914b
|
42 lines
;
; GIFV.SLK
; This script shows the GIFV.SLJ with DEBUG-ON at the top of the :GOSUB-HERE
; routine. This command shows you a step by step trace of your script file!
; notice that before the subroutine ends, the DEBUG-OFF command is issued.
; this is so that the REST of the Script file doesn't get traced too!
;
change-path f:\*.gif
:loop
loadnext :exit
gosub :gosub-here
goto :loop
:gosub-here
DEBUG-ON
;
; Here is my routine to increase RED a 20 times and
; then increase blue 20 times then it resets the colors
;
set v1 1
:more-red
more-red
redraw
set v1 +
if v1=20 :NoMoreRed
goto :more-red
:NoMoreRed
set v1 1
:more-blue
more-blue
set v1 +
if v1=20 :NoMoreblue
goto :more-blue
:NoMoreBlue
reset-colors
DEBUG-OFF
sub-end
:exit